package com.tfswx.fljdmxyy.dto.wjgl;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * 文件上传输入dto
 *
 * @Author 陈文佳
 * @Date 2023/03/24
 */
@Data
public class WjUploadInputDTO {
    @ApiModelProperty(value = "所属类别")
    private String sslb;

    @ApiModelProperty(value = "文件分类")
    private String wjfl;

    @ApiModelProperty(value = "父编码（文件夹路径）")
    private String fbm;

    @ApiModelProperty(value = "文件")
    @NotNull(message = "文件不能为空")
    private MultipartFile file;

    @ApiModelProperty(value = "备注")
    private String bz;
}
